package com.zhongyu.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyu.pojo.Provider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProviderMapper extends BaseMapper<Provider> {
    @Select("select * from smbms_provider ${ew.customSqlSegment}")
    List<Provider> findAll(Page page, @Param("ew") Wrapper wrapper);
    void batchDel(Integer[] ids);

   List<Provider> search(Integer []ids);
}
